package com.greydawn.BridgePattern;

/**
 * @Author: zhongwr
 * @Create: 2021/12/19 18:12
 * @Version 1.0
 * @Description: 圆形
 */
public class RedCircle implements Shape {


    private Color color;

    public RedCircle(Color color) {
        this.color = color;
    }

    @Override
    public void draw() {
        System.out.println("画一个" + color.setColor() + "圆形");
    }
}
